package com.example.springbootk8sdemo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WebController {

    @GetMapping
    public String hello() {
        return "hi";
    }

    @GetMapping("/version")
    public String version() {
        return "v1.0.2";
    }
}
